<template>
	 <view class="fixed-buttom">
	 	<u-tag :text="e.path.split('/').pop()" v-for="(e,i) in list" :key="i" @click="click(e)" />
	 </view>
</template>
<script>
	export default {
		data() {
			return {
				 list:1==11?[
					{ "path": "pages/home/index/index", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/publish/index", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/map/index", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/search/search", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/search/detail", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/user/index", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/user/edit", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					
					{ "path": "pages/user/pages/info", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/user/pages/infoDetail", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/user/pages/invate", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					{ "path": "pages/user/pages/share", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}},
					
					{ "path": "pages/home/home", "style": { "enablePullDownRefresh": false, "app-plus":{ "bounce":"none"}}}
				 ]:[]
			 
			}
		}, 
        
		methods: {
			click(e) { 
				uni.redirectTo({
					url: "/" + e.path
				})
			}
		}
	}
</script>
<style>
	.fixed-buttom{
		position: fixed;
		bottom: 80px;
	}
</style>
